feat(npm): update starlight-links-validator (0.10.1 → 0.19.2)#89
Open
lrstanley-x[bot] wants to merge 1 commit intomasterfrom
Open
feat(npm): update starlight-links-validator (0.10.1 → 0.19.2)#89lrstanley-x[bot] wants to merge 1 commit intomasterfrom
lrstanley-x[bot] wants to merge 1 commit intomasterfrom
Conversation
63f62e1 to
271691c
Compare
271691c to
1d645c8
Compare
1d645c8 to
6faa329
Compare
6faa329 to
f05bbf8
Compare
Signed-off-by: lrstanley-x[bot] <153159847+lrstanley-x[bot]@users.noreply.github.com>
f05bbf8 to
a6c4f1f
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
^0.10.1->^0.19.0Release Notes
HiDeoo/starlight-links-validator (starlight-links-validator)
v0.19.2Compare Source
Patch Changes
14f4d8dThanks @DaniFoldi! - Addsastroas a peer dependency to prevent potential build errors in monorepos with hoisting disabled.v0.19.1Compare Source
Patch Changes
2c0e83dThanks @HiDeoo! - Fixes validation issues with links containing query strings when using the AstrotrailingSlashoption.v0.19.0Compare Source
Minor Changes
#123
e9cc59dThanks @HiDeoo! - Adds validation of hero action links in frontmatter.#123
e9cc59dThanks @HiDeoo! - Adds validation of previous and next page links in frontmatter.v0.18.1Compare Source
Patch Changes
242bc28Thanks @HiDeoo! - Setups trusted publishing using OpenID Connect (OIDC) authentication — no code changes.v0.18.0Compare Source
Minor Changes
#118
efef54aThanks @HiDeoo! - Adds hyperlinks (OSC 8) support to validation terminal output.In supported terminals, error slugs can be conveniently used (e.g. with
Ctrl+Click,Opt+Click,Cmd+Click, or a context menu) to open the corresponding file using the default associated application.v0.17.2Compare Source
Patch Changes
b042c61Thanks @trueberryless! - Fixes validation issue for links to Starlight page's title anchor, e.g./getting-started/#_top.v0.17.1Compare Source
Patch Changes
3e0a88cThanks @HiDeoo! - Prevents plugin remark plugin from running on Markdown and MDX content when using the AstrorenderMarkdown()content loader API.v0.17.0Compare Source
Minor Changes
#108
82f8ec5Thanks @HiDeoo! - Adds support for excluding links from validation using a function.When using the function syntax, the function should return
truefor any link that should be excluded from validation orfalseotherwise. The function will be called for each link to validate and will receive an object containing various properties to help determine whether to exclude the link or not.Check out the
excludeconfiguration option documentation for more details and examples.v0.16.0Compare Source
Minor Changes
#104
cbeaa0fThanks @HiDeoo! - Ignores query strings when checking for excluded links.Previously, to exclude links with query strings, you may have needed to rely on fairly loose glob patterns, e.g.
/playground/**to exclude/playground/,/playground/?id=fooand/playground/?id=bar. With this change, excluding/playground/will ignore all query strings, so/playground/,/playground/?id=fooand/playground/?id=barwill all be excluded.v0.15.1Compare Source
Patch Changes
88e66a8Thanks @HiDeoo! - Fixes a regression with version0.15.0where theerrorOnLocalLinksoption was not being applied correctly.v0.15.0Compare Source
Minor Changes
#93⚠️ BREAKING CHANGE: The minimum supported version of Starlight is now version
6d7174bThanks @HiDeoo! -0.32.0.Please use the
@astrojs/upgradecommand to upgrade your project:#100
b238cb7Thanks @HiDeoo! - Adds a newsameSitePolicyoption to configure how external links pointing to the same origin as the one configured in the Astrositeoption should be handled.The current default behavior to ignore all external links remains unchanged. This new option allows to error on such links so they can be rewritten without the origin or to validate them as if they were internal links.
#100
b238cb7Thanks @HiDeoo! - Adds a newcomponentsoption to define additional components and their props to validate as links on top of the built-in<LinkButton>and<LinkCard>Starlight components.Patch Changes
56ea78cThanks @HiDeoo! - Fixes validation issue with the Astrobaseoption and theerrorOnFallbackPagesplugin option set tofalsein a multilingual project.v0.14.3Compare Source
Patch Changes
1ef31b8Thanks @DaniFoldi! - Movesmdast-util-mdx-jsxpackage to non-dev dependencies to prevent issues in monorepos with hoisting disabled.v0.14.2Compare Source
Patch Changes
57fdb1bThanks @HiDeoo! - Improves error message for invalid links to custom pages.v0.14.1Compare Source
Patch Changes
#82
b3cbee8Thanks @HiDeoo! - Fixes regresion introduced in version0.14.0of the plugin regarding validation of links to pages with custom IDs/slugs.Note that you must use at least Astro version
5.1.1to benefit from this fix.#80
876cb50Thanks @lukekarrys! - Fixes validation issues for pages ending inindex, e.g.module_index.v0.14.0Compare Source
Minor Changes
#77
486a379Thanks @HiDeoo! - Adds support for Astro v5, drops support for Astro v4.0.30.0.Please follow the upgrade guide to update your project.
When using the plugin with the Content Layer API, the plugin will now automatically invalidate the content layer cache so that all links can be properly validated. To avoid unnecessary cache invalidation, it is recommended to conditionally use the plugin only when necessary. Check out the new “Conditional Validation” guide for more information.
v0.13.4Compare Source
🐞 Bug Fixes
View changes on GitHub
v0.13.3Compare Source
🚀 Features
trailingSlashoption to indicate if a link is missing a trailing slash or if a link has a trailing slash when it should not - by @HiDeoo (a8776)View changes on GitHub
v0.13.2Compare Source
🐞 Bug Fixes
View changes on GitHub
v0.13.1Compare Source
🐞 Bug Fixes
View changes on GitHub
v0.13.0Compare Source
🚨 Breaking Changes
Adds errors for local links, e.g. URLs with a hostname of
localhostor127.0.0.1- by @HiDeoo (80636)In previous versions, such links were silently ignored. They are now considered as invalid links as they are usually used for development purposes and should not be present in production.
If you want to preserve the previous behaviour, you can set the
errorOnLocalLinksoption tofalsein yourastro.config.mjsfile:View changes on GitHub
v0.12.4Compare Source
🐞 Bug Fixes
View changes on GitHub
v0.12.3Compare Source
🐞 Bug Fixes
View changes on GitHub
v0.12.2Compare Source
🐞 Bug Fixes
baseoption and a custom slug - by @HiDeoo (fe3d2)View changes on GitHub
v0.12.1Compare Source
🐞 Bug Fixes
View changes on GitHub
v0.12.0Compare Source
🚀 Features
errorOnInvalidHashesoption defaulting totrueto disable hash validation - by @HiDeoo (32a92)The default validation behavior remains unchanged.
View changes on GitHub
v0.11.0Compare Source
🚀 Features
<LinkCard>and<LinkButton>components - by @HiDeoo (00599)View changes on GitHub
Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
PR generated using automation.